.phone-input {
  position: relative;
  padding-top: 8px;
  width: 100%;

  &__container {
    padding: 0 16px;
    display: flex;
    width: 100%;
    height: 48px;
    font-size: 15px;
    line-height: 20px;
    border: 1px solid var(--pneumatic-color-black16);
    border-radius: 8px;
    transition: 0.1s ease-in-out border-color;
    align-items: center;

    &.is-error {
      border-color: var(--pneumatic-color-warning);
    }

    > *:first-child {
      width: 100%;
      height: 48px;
      flex: 1;
    }
  }

  &__title {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 12px;
    padding: 0 4px;
    font-size: 13px;
    line-height: 16px;
    color: var(--pneumatic-color-black72);
    background-color: white;
  }

  &__error-text {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 16px;
    color: var(--pneumatic-color-warning);
  }

  &__tooltip {
    cursor: pointer;
  }
}
